#include "chartstyle.hpp"

ChartStyle::ChartStyle()
{
    this->_StyleID = 1;
    this->_LineType = "1";
    this->_LineColor = "1";
    this->_LineWidth = "1";
    this->_PointType = "1";
    this->_PointSize = "1";
    this->_PointInterval = "1";
}

ChartStyle::ChartStyle(int id, string lt, string lc,
                       string lw, string pt, string ps, string pi)
{
    this->_StyleID = id;
    this->_LineType = lt;
    this->_LineColor = lc;
    this->_LineWidth = lw;
    this->_PointType = pt;
    this->_PointSize = ps;
    this->_PointInterval = pi;
}

inline void ChartStyle::setStyle(int id, string lt, string lc, string lw,
                                 string pt, string ps, string pi)
{
    this->_StyleID = id;
    this->_LineType = lt;
    this->_LineColor = lc;
    this->_LineWidth = lw;
    this->_PointType = pt;
    this->_PointSize = ps;
    this->_PointInterval = pi;
}
